package com.haikesi.api.menuauthority.domain.po;

import com.haikesi.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "menu_authority")
@Data
@EqualsAndHashCode(callSuper = false)
public class MenuAuthorityPO extends BaseEntity {
    private static final long serialVersionUID = -1L;
	
    /**
     * 父权限
     */
  
    private String parentId;

    /**
     * 权限名称
     */
    @Column(name = "authority_name")
    private String authorityName;

    /**
     * 权限描述
     */
    @Column(name = "authority_description")
    private String authorityDescription;

    /**
     * 权限唯一标识
     */
    @Column(name = "authority_sign")
    private String authoritySign;

    /**
     * 1.权限菜单；2.权限按钮
     */
    @Column(name = "authority_type")
    private Integer authorityType;
    /**
     * 菜单url
     */
    @Column(name = "menu_url")   
    private String menuUrl;

    /**
     * 菜单图标
     */
    @Column(name = "authority_icon")
    private String authorityIcon;
   
}